import { Controller } from 'egg';

export default class CSRFController extends Controller {

  public async update() {
    const { ctx } = this;
    ctx.rotateCsrfSecret();
    ctx.sendSuccess('OK');
  }
}

